package com.hopu.mybatis.entity;


public class TbBook {

  private long bookId;
  private String bookName;
  private double bookPrice;
  private String bookAuthor;
  private String bookPublishDate;
  private String bookImage;


  public long getBookId() {
    return bookId;
  }

  public void setBookId(long bookId) {
    this.bookId = bookId;
  }


  public String getBookName() {
    return bookName;
  }

  public void setBookName(String bookName) {
    this.bookName = bookName;
  }


  public double getBookPrice() {
    return bookPrice;
  }

  public void setBookPrice(double bookPrice) {
    this.bookPrice = bookPrice;
  }


  public String getBookAuthor() {
    return bookAuthor;
  }

  public void setBookAuthor(String bookAuthor) {
    this.bookAuthor = bookAuthor;
  }


  public String getBookPublishDate() {
    return bookPublishDate;
  }

  public void setBookPublishDate(String bookPublishDate) {
    this.bookPublishDate = bookPublishDate;
  }


  public String getBookImage() {
    return bookImage;
  }

  public void setBookImage(String bookImage) {
    this.bookImage = bookImage;
  }

  public TbBook(long bookId, String bookName, double bookPrice, String bookAuthor, String bookPublishDate, String bookImage) {
    this.bookId = bookId;
    this.bookName = bookName;
    this.bookPrice = bookPrice;
    this.bookAuthor = bookAuthor;
    this.bookPublishDate = bookPublishDate;
    this.bookImage = bookImage;
  }

  public TbBook() {
  }

  @Override
  public String toString() {
    return "TbBook{" +
            "bookId=" + bookId +
            ", bookName='" + bookName + '\'' +
            ", bookPrice=" + bookPrice +
            ", bookAuthor='" + bookAuthor + '\'' +
            ", bookPublishDate='" + bookPublishDate + '\'' +
            ", bookImage='" + bookImage + '\'' +
            '}';
  }
}
